
<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title></title>
        <style>
            img{
                height:100px;
                width:100px;
            }
            .mydiv{
                border: 1px solid red;
                border-radius: 50%;
                background-color: rgb(23,56,78);
                margin-top: 1px;
                float:left;
            }
        </style>   
    </head>
    <body>
       <?php
//        foreach($_GET as $k=>$v){
//            echo "<br/>".$k." --->".$v;
//        }
//        echo "<hr/>";
        $count= strlen($_REQUEST["c"])==0?5:$count=$_REQUEST["c"];
        $start_height= strlen($_REQUEST["h"])==0?15:$count=$_REQUEST["h"];
        $R_pi= strlen($_REQUEST["r"])==0?5:$count=$_REQUEST["r"];
        
        $index=1;
        
        foreach($_REQUEST as $key1 => $value1){
            echo "GP：".$key1."</br>"."这是值：".$value1;
            echo "</br>";
        };
        
        echo "</br>";
         echo "</br>";
        
        while($index<=$count){
        $mydivheight=$start_height+$index*$R_pi;
        $mydivwidth=$start_height+$index*$R_pi;
        $color1=123+$index*7;$color2=213+$index*6;$color3=5+$index*5;
        $color1=$color1%255;$color2=$color2%255; $color3=$color3%255;
        echo "<div class=\"mydiv\" style=\""
        . "height:${mydivheight}px;"
        . "width:${mydivwidth}px;"
        . " background-color: rgb(${color1},${color2},${color3});"
        . "\">";
        echo "</div>";
            $index++;
        }
            ?>
    </body>
</html>
